package com.whminwei.edu.api.school.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Data;

import java.util.List;

/**
 * @author wangy
 * @since 2024/4/21
 */
@Data
public class OrgFspn {
    @JsonValue
    private List<OrgBo> orgList;

    public OrgFspn() {
    }

    @JsonCreator
    public OrgFspn(List<OrgBo> orgList) {
        this.orgList = orgList;
    }

    @Data
    public static class OrgBo {

        /**
         * 行政机构ID
         */
        private String orgId;

        /**
         * 行政机构名称
         */
        private String orgName;


    }
}
